package cloud.seckill.seckillserver.controller;

import cloud.seckill.seckillserver.common.constant.SystemConstant;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @title: TestController
 * @Author Wangsj
 * @Date: 2021/5/24
 */


@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/show")
    public String getInfo(){
        return "I'm form service:"+ SystemConstant.SERVICE_NAME+",port:"+SystemConstant.PORT;
    }


}
